package com.kaili.basic.pojo.entity;

import com.kaili.common.pojo.entity.TreeEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 分组树实体
 */
@Data
public class MdmGroupTree implements TreeEntity<MdmGroupTree> {

    @ApiModelProperty(name = "id", value = "分组id")
    private String id;

    @ApiModelProperty(name = "groupCode", value = "分组编号")
    private String groupCode;

    @ApiModelProperty(name = "groupName", value = "分组名称")
    private String groupName;

    @ApiModelProperty(name = "orgId", value = "机构id")
    private Long orgId;

    @ApiModelProperty(name = "parentId", value = "父分组id")
    private String parentId;

    @ApiModelProperty(name = "child", value = "子集合")
    private List<MdmGroupTree> child;

}
